package com.jaychen.tliaswebmanagement.service;

import com.jaychen.tliaswebmanagement.pojo.Emp;
import com.jaychen.tliaswebmanagement.pojo.EmpQueryParam;
import com.jaychen.tliaswebmanagement.pojo.PageResult;

import java.util.List;

public interface EmpService {

    //PageResult<Emp> page(Integer page, Integer pageSize,String name, Integer gender, LocalDateTime begin, LocalDateTime end);
    PageResult<Emp> page(EmpQueryParam empQueryParam);

    void save(Emp emp);

    void delete(List<Integer> ids);

    Emp getInfo(Integer id);

    void update(Emp emp);

    Integer getByDeptId(Integer deptId);
}
